package it.unibo.convoycruisecontrol.boatsubsystem;

import it.unibo.location.ILocation;

import java.util.List;
import java.util.Observable;

public abstract class ObservableDashboard extends Observable implements IDashboard 
{
	public void updateCurrentSpeed(float speed){
		setChanged();
		notifyObservers();
	}

	public void updateDistanceCovered(float distance){
		setChanged();
		notifyObservers();
	}

	public void updateMap(List<ILocation> locations){
		setChanged();
		notifyObservers();
	}

}
